
package com.lghutchinson.Assignment1;

public class CalculatorImpl implements CalculatorInterface {
    
    private int num1;
    private int num2;
    private int result;
    private double num3;
    private double num4;
    private double result2;
    
    @Override
    public int addInts()
    {
        num1 = 5;
        num2 = 25;
        
        result = num1 + num2;
        
        return result;
    }
    
    @Override
    public double addFloats()
    {
        num3 = 5.25;
        num4 = 7.44;
        
        result2 = num3 + num4;
        
        return result2;
    }
}
